#

| Chapter 2 UNIX Commands |

## test

    test expression
    or
    [ expression ]

Evaluate an `expression` and, if its value is true, return a zero exit status; otherwise, return a nonzero exit status. In shell scripts, you can use the alternate form [ `expression` ]. This command is generally used with conditional constructs in shell programs. See Section 4 for more information on test.

Reference: telnet |  | Reference: time